PGMB\ParseFormFields B

Total Complexity 86
Dependencies 23
Dependents 4
Total lines 454
Lines of code 295
Logical lines of code 177
Comment lines 80
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
getLocalPost()
A
39 14 60
get_media_item()
A
54 10 18
sanitize_location()
S
58 5 16
get_media_items()
S
61 5 12
getLocations()
S
62 5 11
validate_wp_image_size()
S
53 4 21
sanitize()
S
59 4 15
validate_image_props()
S
62 5 10
generate_placeholder_variables()
S
53 3 23
get_link_parsing_mode()
S
62 3 12
get_file_size_from_download()
S
62 3 12
get_remote_file_size()
S
65 3 11
get_local_file_size()
S
64 3 11
get_file_size_from_headers()
S
68 3 7
convert_webp()
S
58 2 14
__construct()
S
71 2 6
validate_external_image_size()
S
64 2 9
get_content_image()
S
68 2 7
is_repost()
S
78 2 3
getPublishDateTime()
S
82 1 3
get_file_size_from_path()
S
80 1 3
get_topic_type()
S
80 1 3
get_summary()
S
80 1 3
validate()
S
91 1 2
parse_placeholder_variables()
S
78 1 3